package com.woniu.form;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class AddCommentForm {

    @NotNull(message = "站点ID不能为空")
    @ApiModelProperty(value = "站点ID")
    private Integer siteId;

    @ApiModelProperty(value = "评论 ID")
    private Integer commentId;

    @ApiModelProperty(value = "父回复 ID")
    private Integer parentId;

    @NotNull(message = "评论内容不能为空")
    @ApiModelProperty(value = "评论内容")
    private String content;
}
